using Engine;

namespace SCIENEW {
    /// <summary>
    /// 带热值的粉末
    /// </summary>
    public class CoalPowderItem : PowderItem {
        public readonly float HeatLevel;

        public readonly float FuelFireDuration;

        public CoalPowderItem(string id, Color color, float heatLevel, float fuelFireDuration) : base(id, color)
        {
            HeatLevel = heatLevel;
            FuelFireDuration = fuelFireDuration;
        }

        public override float GetFuelHeatLevel(int value) => HeatLevel;

        public override float GetFuelFireDuration(int value) => FuelFireDuration;
    }
}